Memory Function in Virtual Calculator